package com.pan.dao.coupon;

import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;

@Mapper
public interface CouponDeleteDao{
    Integer deleteById(Long id);
    Integer deleteByImg(String img);
    Integer deleteByName(String name);
    Integer deleteByCreateAdmin(Long createAdmin);
    Integer deleteByUserLimit(Integer userLimit);
    Integer deleteByGrowthLimit(Long growthLimit);
    Integer deleteByScorePrice(Integer scorePrice);
    Integer deleteByAmount(Double amount);
    Integer deleteByPublishCount(Integer publishCount);
    Integer deleteByReceiveCount(Integer receiveCount);
    Integer deleteByUseCount(Integer useCount);
    Integer deleteByCreateDate(Timestamp createDate);
    Integer deleteByStartDate(Timestamp startDate);
    Integer deleteByEndDate(Timestamp endDate);
    Integer deleteByNote(String note);
}